High-speed real-time bus system and data processing method thereof

ABSTRACT

Disclosed are a high-speed real-time bus system and a data processing method thereof. Each node device forms an annularly connected topological structure by means of a high-speed real-time bus; a master node device respectively sends a bus clock signal and a data signal to a slave node device of the next grade of the master node device in the topological structure by means of a clock channel and a data channel; each slave node device receives the bus clock signal and the data signal sent from the respective node device of the previous grade, performs data processing according to the bus clock signal and the data signal so as to update the data signal and sends the bus clock signal and the updated data signal to the respective node device of the next grade.

BACKGROUND Technical Field

The invention relates to a high-speed real-time bus system, furtherrelates to a data processing method for the high-speed real-time bussystem, and belongs to the technical field of data processing.

Related Art

Static CT is a novel CT (Computed Tomography) technical solution. In thecase of its overall structure, a full circle of detectors and a fullcircle of radiation sources are adopted, and through timing ray-emittingof all radiation source focuses on the circumference, the purpose ofcircular scanning the same as spiral CT is achieved. The static CT doesnot need rotating parts in theory, so it does not need bearings and sliprings, the structure is simple, the theoretical circumferential scanningspeed is high, and the data transmission speed is high.

Currently, an image chain of the static CT is composed of a number ofelectrical subsystems (or electrical nodes), and these electrical nodesmay include synchronous high-voltage radiation sources, image detectors,scanning frames and patient beds. Timing control and informationinteraction are required between the electrical nodes. How to provide ahigh-speed real-time bus with a simple structure, high real-timeperformance, relatively low cost and easy expansion to meet datacommunication in the static CT has become an urgent problem to besolved.

SUMMARY

The primary technical problem to be solved by the invention is toprovide a high-speed real-time bus system.

Another technical problem to be solved by the invention is to provide adata processing method for the above high-speed real-time bus system.

In order to achieve the above objects of the invention, the inventionadopts the following technical solution:

according to a first aspect of an embodiment of the invention, ahigh-speed real-time bus system is provided and includes a plurality ofnode devices; the plurality of node devices include a master node deviceand a plurality of slave node devices; each node device includes aninput port and an output port; the output port of each node device isconnected to the input port of another node device through a high-speedreal-time bus, so that all the node devices form an annularly connectedtopological structure through the high-speed real-time bus; thehigh-speed real-time bus includes one clock channel and at least onedata channel;

the master node device is configured to respectively send a bus clocksignal and a data signal to the slave node device of the next grade ofthe master node device in the topological structure through the clockchannel and the data channel; and

each slave node device is configured to receive the bus clock signal andthe data signal sent by the respective node device of the previousgrade, perform data processing according to the bus clock signal and thedata signal to update the data signal and send the bus clock signal andan updated data signal to the respective node device of the next grade,or enable the bus clock signal and the data signal to directly arrive atthe respective node device of the next grade; and the master node deviceis enabled to obtain feedback information of each slave node device inthe topological structure.

Preferably, the node device further includes a signal preprocessingmodule, a signal processing module and a signal postprocessing module;the signal processing module is respectively connected to the signalpreprocessing module and the signal postprocessing module; the signalpreprocessing module is connected to the high-speed real-time busbetween the node device and its node device of the previous gradethrough the input port; and the signal postprocessing module isconnected to the high-speed real-time bus between the node device andits node device of the next grade through the output port.

Preferably, when the node device is configured to send the bus clocksignal and the data signal, the node device is specifically configuredto:

convert parallel data into serial data through the signal processingmodule by adopting a working clock of the node device itself accordingto a preset protocol strategy;

down-convert the working clock of the node device itself to a bus clockthrough the signal postprocessing module according to electrical levelmodes of the high-speed real-time bus to form the bus clock signal,wherein a phase relationship between the bus clock and the working clockremains in-phase; and

respectively and synchronously send the bus clock signal and the serialdata to the clock channel and the data channel through the output port.

Preferably, when the node device is configured to receive the bus clocksignal and the data signal, the node device is specifically configuredto:

respectively receive the bus clock signal of the clock channel andserial data of the data channel through the input port;

multiply a bus clock represented by the bus clock signal to a workingclock of the node device itself according to electrical level modes ofthe high-speed real-time bus through the signal preprocessing module,wherein a phase relationship between the working clock and the bus clockremains in-phase; and

convert the serial data into parallel data through the signal processingmodule by adopting the working clock of the node device itself accordingto a preset protocol strategy.

Preferably, the master node device is further configured to generate thebus clock, and send the bus clock to the clock channel of the high-speedreal-time bus; and generate a data frame entering a bus initializationmode, and continuously send the data frame entering the businitialization mode to the data channel of the high-speed real-time bus,wherein the number of times of continuously sending the data frameentering the bus initialization mode is greater than or equal to thenumber of the slave node devices;

the slave node device is further configured to obtain the data frameentering the bus initialization mode from the data channel of thehigh-speed real-time bus, and enter a bus initialization mode;

the master node device is further configured to generate a feature codedata frame and continuously send the feature code data frame to the datachannel of the high-speed real-time bus, wherein the number of times ofcontinuously sending the feature code data frame is greater than orequal to the number of the slave node devices;

the slave node device is further configured to obtain the feature codedata frame from the data channel of the high-speed real-time bus; aphase of a working clock of the slave node device itself is adjusted, sothat content of the data frame received by the slave node device andfeature codes in the feature code data frame are consistent;

the master node device is further configured to generate a data frameexiting from the bus initialization mode and continuously send the dataframe exiting from the bus initialization mode to the data channel ofthe high-speed real-time bus, wherein the number of times ofcontinuously sending the data frame exiting from the bus initializationmode is greater than or equal to the number of the slave node devices;

the slave node device is further configured to obtain the data frameexiting from the bus initialization mode from the data channel of thehigh-speed real-time bus, and exit from the bus initialization mode toenter a normal working mode; and

the master node device is further configured to determine whether eachslave node device enters the normal working mode according to thefeedback information of each slave node device in the topologicalstructure; if each slave node device enters the normal working mode, thehigh-speed real-time bus system is controlled to enter the normalworking mode; and if any of the slave node devices does not enter thenormal working mode, the high-speed real-time bus is controlled to enterthe bus initialization mode again.

Preferably, the master node device is further configured to send thedata signal to the data channel of the high-speed real-time bus when thehigh-speed real-time bus system is in the normal working mode;

the slave node device is further configured to obtain the data signalfrom the data channel of the high-speed real-time bus, and parse a frameID of the data signal to determine whether the frame ID of the datasignal corresponds to preset address number of the slave node deviceitself, when the frame ID of the data signal corresponds to the presetaddress number of the slave node device itself, data processing iscarried out according to actual data content in a data area of the datasignal to form a data processing result;

the master node device is further configured to send another data signalwith the same frame ID as the data signal to the data channel of thehigh-speed real-time bus; and

the slave node device is further configured to obtain the another datasignal from the data channel of the high-speed real-time bus, superposethe data processing result on a data frame of the another data signal,and transmit the data processing result to the data channel of thehigh-speed real-time bus, so that the master node device obtains thedata processing result from the data channel of the high-speed real-timebus.

Preferably, the master node device is further configured to send acontrol data signal to the data channel of the high-speed real-time buswhen the high-speed real-time bus system is in the normal working mode;the control data signal includes a control frame ID;

the slave node device is further configured to obtain the control datasignal from the data channel of the high-speed real-time bus, superposedata to be transmitted into the control data signal corresponding to thecontrol frame ID to form data signals to be transmitted, and allocateand transmit the data signals to be transmitted to the plurality of datachannels of the high-speed real-time bus; the data signals to betransmitted include the control frame ID; and

one or more slave node devices except the slave node device areconfigured to obtain the data signals to be transmitted corresponding tothe control frame ID from the plurality of data channels of thehigh-speed real-time bus to obtain the data to be transmitted.

Preferably, the master node device determines a state of each slave nodedevice according to the feedback information.

According to a second aspect of the embodiment of the invention, a dataprocessing method for a high-speed real-time bus system is provided, anda plurality of node devices are included; the plurality of node devicesinclude a master node device and a plurality of slave node devices; eachnode device includes an input port and an output port; the output portof each node device is connected to the input port of another nodedevice through a high-speed real-time bus, so that all the node devicesform an annularly connected topological structure through the high-speedreal-time bus; and the high-speed real-time bus includes one clockchannel and at least one data channel; and

the data processing method includes the following steps:

respectively sending, by the master node device, a bus clock signal anda data signal to the slave node device of the next grade of the masternode device in the topological structure through the clock channel andthe data channel;

receiving, by each slave node device, the bus clock signal and the datasignal sent by the respective node device of the previous grade,performing data processing according to the bus clock signal and thedata signal to update the data signal and send the bus clock signal andan updated data signal to the respective node device of the next grade,or enabling the bus clock signal and the data signal to directly arriveat the respective node device of the next grade; enabling the masternode device to obtain feedback information of each slave node device inthe topological structure; and

determining, by the master node device, a state of each slave nodedevice according to the feedback information.

Preferably, the node device further includes a signal preprocessingmodule, a signal processing module and a signal postprocessing module;the signal processing module is respectively connected to the signalpreprocessing module and the signal postprocessing module; the signalpreprocessing module is connected to the high-speed real-time busbetween the node device and its node device of the previous gradethrough the input port; and the signal postprocessing module isconnected to the high-speed real-time bus between the node device andits node device of the next grade through the output port.

Preferably, the data processing method further includes:

converting, by the node device, parallel data into serial data throughthe signal processing module by adopting a working clock of the nodedevice itself according to a preset protocol strategy when the nodedevice is configured to send the bus clock signal and the data signal;

down-converting the working clock of the node device itself to a busclock according to electrical level modes of the high-speed real-timebus to form the bus clock signal through the signal postprocessingmodule, wherein a phase relationship between the bus clock and theworking clock remains in-phase; and

respectively and synchronously sending the bus clock signal and theserial data to the clock channel and the data channel through the outputport.

Preferably, the data processing method further includes:

respectively receiving, by the node device, the bus clock signal of theclock channel and the serial data of the data channel through the inputport when the node device is configured to receive the bus clock signaland the data signal;

multiplying a bus clock represented by the bus clock signal to a workingclock of the node device itself according to electrical level modes ofthe high-speed real-time bus through the signal preprocessing module,wherein a phase relationship between the working clock and the bus clockremains in-phase; and

converting the serial data into the parallel data through the signalprocessing module by adopting the working clock of the node deviceitself according to a preset protocol strategy.

Preferably, the data processing method further includes:

generating, by the master node device, a bus clock, and sending the busclock to the clock channel of the high-speed real-time bus; generating adata frame entering a bus initialization mode, and continuously sendingthe data frame entering the bus initialization mode to the data channelof the high-speed real-time bus, wherein the number of times ofcontinuously sending the data frame entering the bus initialization modeis greater than or equal to the number of the slave node devices;

obtaining, by the slave node device, the data frame entering the businitialization mode from the data channel of the high-speed real-timebus, and entering the bus initialization mode;

generating, by the master node device, a feature code data frame andcontinuously sending the feature code data frame to the data channel ofthe high-speed real-time bus, wherein the number of times ofcontinuously sending the feature code data frame is greater than orequal to the number of the slave node devices;

obtaining, by the slave node device, the feature code data frame fromthe data channel of the high-speed real-time bus; adjusting a phase of aworking clock of the slave node device itself to enable content of thedata frame received by the slave node device and feature codes in thefeature code data frame to be consistent;

generating, by the master node device, a data frame exiting from the businitialization mode, and continuously sending the data frame exitingfrom the bus initialization mode to the data channel of the high-speedreal-time bus, wherein the number of times of continuously sending thedata frame exiting from the bus initialization mode is greater than orequal to the number of the slave node devices;

obtaining, by the slave node device, the data frame exiting from the businitialization mode from the data channel of the high-speed real-timebus, and exiting from the bus initialization mode to enter a normalworking mode; and

determining, by the master node device, whether each slave node deviceenters the normal working mode according to the feedback information ofeach slave node device in the topological structure; if each slave nodedevice enters the normal working mode, the high-speed real-time bussystem is controlled to enter the normal working mode; and if any of theslave node devices does not enter the normal working mode, thehigh-speed real-time bus is controlled to enter the bus initializationmode again.

Preferably, the data processing method further includes:

sending, by the master node device, the data signal to the data channelof the high-speed real-time bus when the high-speed real-time bus systemis in the normal working mode;

obtaining, by the slave node device, the data signal from the datachannel of the high-speed real-time bus, and parsing a frame ID of thedata signal to determine whether the frame ID of the data signalcorresponds to a preset address number of the slave node device itself;performing data processing according to actual data content in a dataarea of the data signal to form a data processing result when the frameID of the data signal corresponds to the preset address number of theslave node device itself;

sending, by the master node device, another data signal with the sameframe ID as the data signal to the data channel of the high-speedreal-time bus; and

obtaining, by the slave node device, the another data signal from thedata channel of the high-speed real-time bus, superposing the dataprocessing result on a data frame of the another data signal, andtransmitting the data processing result to the data channel of thehigh-speed real-time bus, and enabling the master node device to obtainthe data processing result from the data channel of the high-speedreal-time bus.

Preferably, the data processing method further includes:

sending, by the master node device, a control data signal to the datachannel of the high-speed real-time bus when the high-speed real-timebus system is in the normal working mode, wherein the control datasignal includes a control frame ID;

obtaining, by the slave node device, the control data signal from thedata channel of the high-speed real-time bus, superposing data to betransmitted into the control data signal corresponding to the controlframe ID to form data signals to be transmitted, and allocating andtransmitting the data signals to be transmitted to the plurality of datachannels of the high-speed real-time bus, wherein the data signals to betransmitted include the control frame ID; and

obtaining, by one or more slave node devices except the slave nodedevice, the data signals to be transmitted corresponding to the controlframe ID from the plurality of data channels of the high-speed real-timebus to obtain the data to be transmitted.

Preferably, the electrical level modes of the high-speed real-time businclude a single-end mode, a low-voltage differential signaling mode, asingle data rate mode and a double data rate mode;

when the single-end mode, the low-voltage differential signaling mode orthe single data rate mode is adopted as the electrical level mode of thehigh-speed real-time bus, a frequency of a working clock is N times thatof a bus clock; and

when the double data rate mode is adopted as the electrical level modeof the high-speed real-time bus, the frequency of the working clock is2N times that of the bus clock;

wherein N is the number of bits of the parallel data.

Preferably, a data frame format of the data signal includes the frameID, the data area and a check bit; the frame ID is configured torepresent the data frame ID of a preset mode and the slave node deviceaddress or the broadcast address corresponding to the data signal; thedata area is configured to represent the actual data content of framedata in the data signal; and the check bit is a result of negation ofthe sum of the frame ID and each bit number of the data area.

According to the high-speed real-time bus system and the data processingmethod thereof provided by the invention, each node device is onlyprovided with the one input port and the one output port, the wholetopological structure is simple in structure, the transmission speed ofthe data signals in the topological structure is high, and the real-timeperformance is high; and in addition, other hardware devices do not needto be additionally arranged, the cost is relatively low, expansion canbe carried out by increasing the number of the data channels, anexpansion mode is simple, and high-speed data communication requirementsin static CT can be met.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic structural diagram of a high-speed real-time bussystem provided by the invention;

FIG. 2 is a schematic diagram of a basic electrical model of thehigh-speed real-time bus system provided by the invention;

FIG. 3 is a schematic diagram of a timing relationship between a clockchannel and a data channel in the invention;

FIG. 4 is a schematic structural diagram of node devices in theinvention;

FIG. 5 is a flowchart I of a data processing method provided by theinvention;

FIG. 6 is a flowchart II of the data processing method provided by theinvention;

FIG. 7 is a flowchart III of the data processing method provided by theinvention;

FIG. 8 is a flowchart IV of the data processing method provided by theinvention;

FIG. 9 is a flowchart V of the data processing method provided by theinvention; and

FIG. 10 is a flowchart VI of the data processing method provided by theinvention.

DETAILED DESCRIPTION

The following further describes the technical content of the inventionwith reference to the accompanying drawings and specific embodiments.

In an implementation process of the embodiments of the invention, aninventor finds that an existing industrial field bus has certainlimitation on application requirements in a static CT system.

For example:

RS232 can only perform point-to-point communication, a multipointnetworking is difficult to form, and a baud rate of the RS232 is low (amagnitude smaller than 100 Kbps), so that application of the static CTsystem cannot be met.

Bus networking may be carried out on RS485 and similar buses, allelectrical nodes are hung on the buses, baud rates of the buses are nothigh (a magnitude smaller than 100 Kbps), a simplex mode is adopted, andefficiency is low, so that the application requirements of the static CTsystem cannot be met.

A CAN bus is a very effective field bus, is very wide in application andconvenient to network, a baud rate of the CAN bus is 1 Mbps in theory,but for stability, a baud rate in practical application of the CAN busis 700 Kbps or below, and the simplex mode is adopted, so that theapplication requirements of the static CT system cannot be met.

Networking based on network buses of gigabit and below is alsoconvenient, but an additional switch is needed, and the hardware cost isincreased; and besides, the theoretical maximum baud rate is 1000 Mbps,a head of a data packet occupies 46 bytes, assuming that information ofa node is 2 bytes, the total length is 48 bytes, and an update rate ofthe node is 41 K. Therefore, the application requirements of the staticCT system cannot be met as well.

Networking based on network buses of ten gigabits or above is alsoconvenient, but a switch and an optical module need to be additionallyarranged, so that the hardware cost is greatly increased; and besides,the theoretical minimum baud rate is 10000 Mbps, a head of a data packetoccupies 46 bytes, assuming that information of a node is 2 bytes, thetotal length is 48 bytes, an update rate of the node is 410 K, theapplication of the static CT system can be met, but a technicalthreshold is high, and high-requirement hardware platform support isneeded, so that the networking is not suitable for the applicationrequirements of the static CT system.

In order to overcome the above defects that the existing industrialfield bus cannot meet the application requirements in the static CTsystem, as shown in FIG. 1, a high-speed real-time bus system 10provided by the embodiments of the invention includes a plurality ofnode devices 11; the plurality of node devices 11 include a master nodedevice 101 and a plurality of slave node devices 102; and each nodedevice 11 includes an input port 111 and an output port 112. The outputport 112 of each node device 11 is connected to the input port 111 ofanother node device 11 through a high-speed real-time bus 12, all thenode devices 11 are enabled to form an annularly connected topologicalstructure through the high-speed real-time bus 12, and the wholetopological structure constitutes the high-speed real-time bus system10. The high-speed real-time bus 12 includes one clock channel and atleast one data channel (not shown in FIG. 1, the clock channel and thedata channel are described in detail in the subsequent embodiments).Through the input ports 111 and the output ports 112 of the above nodedevices 11, all the node devices 11 may be easily connected in series toform the above annularly connected topological structure, and the entirenetworking is very simple.

The master node device 101 is configured to send a bus clock signal anda data signal to the slave node device 102 of the next grade of themaster node device 101 in the topological structure through the clockchannel and the data channel.

Each slave node device 102 is configured to receive the bus clock signaland the data signal sent by the respective node device 11 (which may bethe master node device 101 or the other slave node devices 102) of theprevious grade, perform data processing according to the bus clocksignal and the data signal to update the data signal and send the busclock signal and an updated data signal to the respective node device 11of the next grade, or enable the bus clock signal and the data signal todirectly arrive at the respective node device 11 of the next grade; andthe master node device 101 is enabled to obtain feedback information ofeach slave node device 102 in the topological structure.

The master node device 101 is further configured to determine a state ofeach slave node device 102 according to the feedback information. Inthis way, a pseudo “full-duplex” communication mode may be realizedthrough the annually connected topological structure.

Here, it is worth noting that the above high-speed real-time bus 12includes one clock channel and at least one data channel. The clockchannel is a carrier of the clock signal, the data channel is a carrierof the data signal, and a bus clock in the clock channel is synchronizedwith the data signal in the data channel to realize functions oftransmission and phase lock. As shown in FIG. 2, a basic electricalmodel of the high-speed real-time bus system is illustrated, the twonode devices 11 are taken as an example, and portions on the left andright sides respectively represent the two node devices 11 on thehigh-speed real-time bus system, wherein TX represents a sending node,and RX represents a receiving node.

In FIG. 2, there are 3 data channels (here, the 3 data channels are onlytaken as an example, but not a limitation to the number of the datachannels), namely TX0+/− to RX0+/−, TX1+/− to RX1+/− and TX2+/− toRX2+/−. TX0[20 . . . 0], TX1[20 . . . 0] and TX2[20 . . . 0], as well asRX0[20 . . . 0], RX1[20 . . . 0] and RX2[20 . . . 0] respectivelyrepresent parallel data on corresponding data channels, and a bit widthof the parallel data in this example in FIG. 2 is 21 bits. In FIG. 2,TXClk+/− and RXClk+/− are bus clocks on the clock channel of the bus,and TXClk and RXClk are working clocks of the sending node and thereceiving node respectively. Since the bit width of the parallel data is21 bits, a frequency of the TXClk is 21 times that of the TXClk+/−. PLLis a frequency multiplier.

As shown in FIG. 3, a timing relationship between the clock channel andthe data channels is represented. In the figure, CLK is a bus clock,CLK_X21 is a working clock, and the CLK and the CLK_X21 have a 21-timesrelationship (a multiple relationship is consistent with the number ofbits of the parallel data on the data channels) and are consistent inphase (in practical application, due to the influence of factors such astransmission delay, the phase (the receiving node) of the CLK_X21 needsto be adjusted to obtain a correct sampling position). TX0, TX1 and TX3represent data on the three data channels respectively, 21 data bits arearranged in the whole period of the CLK, and the data bits aresynchronous with the CLK_X21.

Furthermore, as shown in FIG. 4, the node device 11 further includes asignal preprocessing module 113, a signal processing module 114 and asignal postprocessing module 115. The signal processing module 114 isrespectively connected to the signal preprocessing module 113 and thesignal postprocessing module 115. The signal preprocessing module 113 isconnected to the high-speed real-time bus 12 between the node device 11and its node device 11 of the previous grade through the input port 111;and the signal postprocessing module 115 is connected to the high-speedreal-time bus 12 between the node device 11 and its node device 11 ofthe next grade through the output port 112. In FIG. 4, the input port111 and the output port 112 may adopt RJ-45 ports. The signal processingmodule 114 may adopt a plurality of forms, wherein it is more flexibleto implement in a field-programmable gate array (FPGA). In FIG. 4, theTX0+/−, the TX1+/−, the TX2+/− represent the data signals of the 3 datachannels, and TXClk+/− represents the bus clock signal of the clockchannel.

In addition, when the node device 11 is configured to send the bus clocksignal and the data signal, the node device 11 is specificallyconfigured to:

convert the parallel data into serial data through the signal processingmodule 114 by adopting a working clock of the node device itselfaccording to a preset protocol strategy.

Through the signal postprocessing module 115, the working clock of thenode device itself is down-converted to the bus clock according toelectrical level modes of the high-speed real-time bus to form the busclock signal. A phase relationship between the bus clock and the workingclock remains in-phase. For example, a low-voltage differentialsignaling mode is adopted as the electrical level modes of thehigh-speed real-time bus, and then a single-end mode needs to beconverted into the low-voltage differential signaling mode, so that asingle-end signal is compatible with the electrical level modes of thehigh-speed real-time bus.

Through the output ports 112, the bus clock signal and the serial dataare respectively and synchronously sent to the clock channel and thedata channels.

In addition, when the node device 11 is configured to receive the busclock signal and the data signal, the node device 11 is specificallyconfigured to:

respectively receive the bus clock signal of the clock channel and theserial data of the data channels through the input ports 111.

Through the signal preprocessing module 113, the bus clock representedby the bus clock signal is multiplied to the working clock of the nodedevice itself according to the electrical level modes of the high-speedreal-time bus. The phase relationship between the working clock and thebus clock remains in-phase. For example, the low-voltage differentialsignaling mode is adopted as the electrical level mode of the high-speedreal-time bus, and the low-voltage differential signaling mode needs tobe converted to the single-end mode.

Through the signal processing module 114, the serial data are convertedinto the parallel data by adopting the working clock of the node deviceitself according to the preset protocol strategy.

Specifically, the electrical level modes of the high-speed real-time bus12 may include the single-end mode, the low-voltage differentialsignaling mode (LVDS), a single data rate mode (SDR), and a double datarate mode (DDR). In general, the modes of the LVDS and the SDR areadopted as the electrical level modes of the high-speed real-time bus12.

When the electrical level modes of the high-speed real-time bus 12 adoptthe single-end mode, the low-voltage differential signaling mode, or thesingle data rate mode, the frequency of the working clock is N timesthat of the bus clock.

When the electrical level modes of the high-speed real-time bus 12 adoptthe double data rate mode, the frequency of the working clock is 2Ntimes that of the bus clock.

Here, N is the number of bits of the parallel data.

Through the plurality of electrical level modes of the high-speedreal-time bus 12 and simple design of the bus clock and the workingclocks, timing design is relatively simple, and real-time performance ofthe entire system is high.

Specifically, as shown in Table 1 below, a data frame format of the datasignal in the data channel includes a frame ID, a data area, and a checkbit.

The frame ID indicates a definition of frame data types, an occupationlength is L1, and the frame ID is configured to indicate a data frame IDof a preset mode (such as entering a bus initialization mode and exitingfrom the bus initialization mode subsequently), and slave node deviceaddresses or broadcast addresses corresponding to the data signal. In anactual operation, the frame ID must reserve a certain range to representa function of broadcasting, at this time, all the slave node devicesparse the data area of the frame ID, but it must be guaranteed that thereserved range contains the situations that all bits of the frame ID are1 and all bits of the frame ID are 0. The bus will enter the businitialization mode when all the bits are 1, and the bus exits from thebus initialization mode and enters a normal working mode when all thebits are 0. In a non-broadcast mode, the slave node device responds onlyto the frame ID that matches a node address of the slave node deviceitself. For the above broadcast function, it is to improve the responsespeed of the bus to fixed information, or to reduce repeated sending ofcommon information, and reduce time that repeated information occupiesthe bus. Each slave node device determines whether the bus data channelis a broadcast frame through the frame ID. Here, basic constraints areimposed on the broadcast frame ID: when the frame ID is all 1, the frameID is configured to indicate the data frame entering the businitialization mode; the high bits of the frame ID are 1 and the lowestbits of the frame ID are 0, and the frame ID indicates the basicbroadcast frame ID; the frame ID is all 0, and the frame ID isconfigured to indicate the data frame exiting from the businitialization mode; and in other cases, other frame ID fields that donot affect continuity of the address number of the slave node device maybe defined as the broadcast frame ID, which may be defined according toactual applications.

The data area is configured to represent the actual data content of theframe data in the data signal. An occupation length of the data area isL2, which is determined by the actual applications. At the same time,the content of the data area is defined according to the actualapplications.

The check bit is a result of negation of the sum of the frame ID andeach bit number of the data area. An occupation length of the check bitis L3.

In this way, an occupation length of the whole frame is L+L2+L3.

TABLE 1 Definition Frame ID Data area Check bit Bit width L1 L2 L3

A process of bus initialization is described below:

After the high-speed real-time bus system is started, all slave nodedevice need to correctly receive the bus clock to be subjected tofrequency multiplication to obtain the required working clock, theworking clock performs a logic function of “serial to parallel” on thedata channel, and the bus clock and the working clock can parse the datain the data channel correctly only in the correct phase relationship.Therefore, the master node device needs to perform the businitialization on the entire bus, such that all the slave node devicescan establish the correct phase relationship.

The process may be:

The master node device 101 generates the bus clock, sends the bus clockto the clock channel of the high-speed real-time bus 12; the data frameentering the bus initialization mode is generated, and the data frameentering the bus initialization mode is continuously sent to the datachannel of the high-speed real-time bus 12; and the number of times ofcontinuously sending the data frame entering the bus initialization modeis greater than or equal to the number of the slave node devices 102.All the bits (the frame ID, the data area and the check bit) of the dataframe entering the bus initialization mode are 1, which indicates that abroadcast mode is adopted.

The slave node device 102 obtains the data frame entering the businitialization mode from the data channel of the high-speed real-timebus 12 and enters a bus initialization mode. Since all the bits of thedata frame entering the bus initialization mode are 1, the slave nodedevice can receive the data frame with all the bits as 1 regardless ofthe phase relationship between the clock channel and the data channel.

The master node device 101 generates a feature code data frame, andcontinuously sends the feature code data frame to the data channel ofthe high-speed real-time bus 12; and the number of times of continuouslysending the feature code data frame is greater than or equal to thenumber of the slave node devices 102.

The slave node device 102 obtains the feature code data frame from thedata channel of the high-speed real-time bus 12; a phase of the workingclock of the slave node device 102 itself is adjusted, so that contentof the data frame received by the slave node device 102 and featurecodes of the feature code data frame are consistent.

The master node device 101 generates the data frame exiting from the businitialization mode, and continuously sends the data frame exiting fromthe bus initialization mode to the data channel of the high-speedreal-time bus 12; and the number of times of continuously sending thedata frame exiting from the bus initialization mode is greater than orequal to the number of the slave node devices 102.

The slave node device 102 obtains the data frame exiting from the businitialization mode from the data channel of the high-speed real-timebus 12, and exits from the bus initialization mode to enter the normalworking mode.

The master node device 101 determines whether each slave node device 102enters the normal working mode according to the feedback information ofeach slave node device 102 in the topological structure; if each slavenode device 102 enters the normal working mode, the high-speed real-timebus system 10 is controlled to enter the normal operation mode; and ifany of the slave node devices 102 does not enter the normal workingmode, the high-speed real-time bus 12 is controlled to enter the businitialization mode again. Specifically, the master node device 101 maycontrol the number of times of entering the bus initialization mode andrelated logic processing.

After the bus initialization process, the normal working mode may bestarted:

The master node device 101 sends the data signal to the data channel ofthe high-speed real-time bus 12 when the high-speed real-time bus system10 is in the normal working mode.

The slave node device 102 obtains the data signal from the data channelof the high-speed real-time bus 12, and parse the frame ID of the datasignal to determine whether the frame ID of the data signal correspondsto the preset address number of the slave node device itself, and whenthe frame ID of the data signal corresponds to the preset address numberof the slave node device itself, data processing is performed accordingto the actual data content in the data area of the data signal to form adata processing result.

The master node device 101 sends another data signal with the same frameID as the data signal to the data channel of the high-speed real-timebus 12.

The slave node device 102 obtains the another data signal from the datachannel of the high-speed real-time bus 12, superposes the dataprocessing result on a data frame of the another data signal, and sendsthe data processing result to the data channel of the high-speedreal-time bus 12 so as to enable the master node device 101 to obtainthe data processing result from the data channel of the high-speedreal-time bus 12.

In addition, if a data volume of the data channel is too large to meetreal-time requirements of the system, the basic data channel may bedivided into two or more data channels, so that the data volume can beallocated to the plurality of data channels, and the data volume of asingle data channel may be reduced. Here, this method is referred to asa bus extending mode:

For the plurality of data channels, the extended data channel has thesame source and same diameter as the basic data channel, so the phaserelationship between the working clock of the slave node device and theextended data channel should be correct while the bus initializationprocess is completed. When the working clock cannot correctly sampledata of the extended data channel, additional separate working clocksneed to be established for the extended data channel, and at thismoment, a bus initialization function of the extended data channel maybe implemented according to the above process.

For use of the extended data channel (and the plurality of datachannels), a process is:

When the high-speed real-time bus system 10 is in the normal workingmode, the master node device 101 sends a control data signal to the datachannel of the high-speed real-time bus 12. The control data signalincludes a control frame ID.

The slave node device 102 obtains the control data signal from the datachannel of the high-speed real-time bus 12, superposes data to betransmitted into the control data signal corresponding to the controlframe ID to form data signals to be transmitted, and allocates andtransmits the data signals to be transmitted to the plurality of datachannels of the high-speed real-time bus 12. The data signals to betransmitted include the control frame ID.

One or more other slave node devices 102 except the slave node device102 obtain the data signal to be transmitted corresponding to thecontrol frame ID from the plurality of data channels of the high-speedreal-time bus 12 so as to obtain the data to be transmitted.

Thus, when the one or more other slave node devices 102 need the data tobe transmitted of one data source node, a mode that the master nodedevice obtains data of the data source node and then sends or broadcaststhe data to a plurality of slave nodes is not needed, and efficiency ofbus information interaction is prevented from being reduced. By adoptingthe control frame ID of the master node device, the data source nodesuperposes the data to be transmitted according to the control frame ID,so that the one or more other slave node devices 102 can directly obtainthe data on the bus.

The high-speed real-time bus system provided by the invention mayincrease a bandwidth of the high-speed real-time bus by increasing thenumber of the extended data channels; the bandwidth of the high-speedreal-time bus may also be increased by improving the bus clock; and thevolume of information of single-frame data may be increased byincreasing a bit width of the high-speed real-time bus.

In the high-speed real-time bus system provided by the invention, allthe node devices form the annularly connected topological structurethrough the high-speed real-time bus. The master node device sends thebus clock signal and the data signal to the slave node device of thenext grade of the master node device in the topological structurethrough the clock channel and the data channel; each slave node devicereceives the bus clock signal and the data signal sent from therespective node device of the previous grade, performs data processingaccording to the bus clock signal and the data signal to update the datasignal and send the bus clock signal and the updated data signal to therespective node device of the next grade, or enables the bus clocksignal and the data signal to directly arrive at the respective nodedevice of the next grade. The master node device is enabled to obtainthe feedback information of each slave node device in the topologicalstructure. In this way, the master node device may determine the stateof each slave node device according to the feedback information. Eachnode device in the invention is only provided with the one input portand the one output port, the structure of the entire topologicalstructure is simple, and the data signal is high in transmission speedand high in real-time performance in the topological structure. Inaddition, no additional hardware devices are required, the cost isrelatively low, extension may be carried out by increasing the number ofthe data channels, and the extending mode is relatively simple.Therefore, the invention can meet data communication in the static CTsystem.

Corresponding to the high-speed real-time bus system shown in FIG. 1, asshown in FIG. 5, a data processing method for the high-speed real-timebus system provided by the embodiments of the invention includes thefollowing steps:

Step 201, a master node device sends a bus clock signal and a datasignal to a slave node device of the next grade of the master nodedevice in a topological structure through a clock channel and a datachannel.

Step 202, each slave node device receives the bus clock signal and thedata signal sent by the respective node device of the previous grade,performs data processing according to the bus clock signal and the datasignal to update the data signal and send the bus clock signal and anupdated data signal to the respective node device of the next grade, orenables the bus clock signal and the data signal to directly arrive atthe respective node device of the next grade; and the master node deviceis enabled to obtain feedback information of each slave node device inthe topological structure.

Step 203, the master node device determines a state of each slave nodedevice according to the feedback information.

Furthermore, as shown in FIG. 6, the data processing method may furtherinclude:

Step 301, when the node device is configured to send the bus clocksignal and the data signal, the node device converts parallel data intoserial data through a signal processing module by adopting a workingclock of the node device itself according to a preset protocol strategy.

Step 302, a signal postprocessing module down-converts the working clockof the node device itself to a bus clock according to electrical levelmodes of a high-speed real-time bus to form the bus clock signal.

Among them, a phase relationship between the bus clock and the workingclock remains in-phase.

Step 303, the bus clock signal and the serial data are respectively andsynchronously sent to the clock channel and the data channel through anoutput port.

Furthermore, as shown in FIG. 7, the data processing method may furtherinclude:

Step 401, when the node device is configured to receive the bus clocksignal and the data signal, the node device respectively receives thebus clock signal of the clock channel and the serial data of the datachannel through an input port.

Step 402, the bus clock represented by the bus clock signal ismultiplied to the working clock of the node device itself according tothe electrical level modes of the high-speed real-time bus through asignal preprocessing module.

Among them, the phase relationship between the working clock and the busclock remains in-phase.

Step 403, the serial data are converted into the parallel data byadopting the working clock of the node device itself through the signalprocessing module according to the preset protocol strategy.

Specifically, the electrical level modes of the high-speed real-time businclude a single-end mode, a low-voltage differential signaling mode, asingle data rate mode and a double data rate mode.

When the electrical level modes of the high-speed real-time bus adoptthe single-end mode, the low-voltage differential signaling mode, or thesingle data rate mode, a frequency of the working clock is N times thatof the bus clock.

When the electrical level modes of the high-speed real-time bus adoptthe double data rate mode, the frequency of the working clock is 2Ntimes that of the bus clock.

Among them, N is the number of the bits of the parallel data.

Specifically, a data frame format of the data signal in the data channelincludes a frame ID, a data area and a check bit; the frame ID isconfigured to represent a data frame ID of a preset mode and slave nodedevice addresses or broadcast addresses corresponding to the datasignal. The data area is configured to represent actual data content offrame data in the data signal. The check bit is a result of negation ofthe sum of the frame ID and each bit number of the data area.

Furthermore, as shown in FIG. 8, the data processing method may furtherinclude:

Step 501, the master node device generates a bus clock and sends the busclock to the clock channel of the high-speed real-time bus; and a dataframe entering a bus initialization mode is generated, and the dataframe entering the bus initialization mode is continuously sent to thedata channel of the high-speed real-time bus.

Among them, the number of times of continuously sending the data frameentering the bus initialization mode is greater than or equal to thenumber of the slave node devices.

Step 502, the slave node device obtains the data frame entering the businitialization mode from the data channel of the high-speed real-timebus, and enters a bus initialization mode.

Step 503, the master node device generates a feature code data frame,and continuously sends the feature code data frame to the data channelof the high-speed real-time bus.

Among them, the number of times of continuously sending the feature codedata frame is greater than or equal to the number of the slave nodedevices.

Step 504, the slave node device obtains the feature code data frame fromthe data channel of the high-speed real-time bus; and a phase of theworking clock of the slave node device is adjusted, and the content ofthe data frame received by the slave node device and feature codes inthe feature code data frame are enabled to be consistent.

Step 505, the master node device generates a data frame exiting from thebus initialization mode, and continuously sends the data frame exitingfrom the bus initialization mode to the data channel of the high-speedreal-time bus.

Among them, the number of times of continuously sending the data frameexiting from the bus initialization mode is greater than or equal to thenumber of the slave node devices.

Step 506, the slave node device obtains the data frame exiting from thebus initialization mode from the data channel of the high-speedreal-time bus, and exits from the bus initialization mode to enter anormal working mode.

Step 507, the master node device determines whether each slave nodedevice enters the normal working mode according to the feedbackinformation of each slave node device in the topological structure. Ifeach slave node device enters the normal working mode, the high-speedreal-time bus system is controlled to enter the normal working mode. Ifany of the slave node devices does not enter the normal working mode,the high-speed real-time bus is controlled to enter the businitialization mode again.

Furthermore, as shown in FIG. 9, the data processing method may furtherinclude:

Step 601, the master node device sends the data signal to the datachannel of the high-speed real-time bus when the high-speed real-timebus system is in the normal working mode.

Step 602, the slave node device obtains the data signal from the datachannel of the high-speed real-time bus, and parses the frame ID of thedata signal to determine whether the frame ID of the data signalcorresponds to a preset address number of the slave node device itself.When the frame ID of the data signal corresponds to the preset addressnumber of the slave node device itself, data processing is carried outaccording to the actual data content in the data area of the data signalto form the data processing result;

Step 603, the master node device sends another data signal with the sameframe ID as the data signal to the data channel of the high-speedreal-time bus.

Step 604, the slave node device obtains the another data signal from thedata channel of the high-speed real-time bus, superposes the dataprocessing result on the data frame of the another data signal, andtransmits the data processing result to the data channel of thehigh-speed real-time bus so as to enable the master node device toobtain the data processing result from the data channel of thehigh-speed real-time bus.

Furthermore, as shown in FIG. 10, the data processing method may furtherinclude:

Step 701, when the high-speed real-time bus system is in the normalworking mode, the master node device sends a control data signal to thedata channel of the high-speed real-time bus. The control data signalincludes a control frame ID.

Step 702, the slave node device obtains the control data signal from thedata channel of the high-speed real-time bus, superposes the data to betransmitted into the control data signal corresponding to the controlframe ID to form the data signals to be transmitted, and allocates andtransmits the data signal to be transmitted to the plurality of datachannels of the high-speed real-time bus. The data signals to betransmitted include the control frame ID.

Step 703, one or more slave node devices except the slave node deviceobtain the data signals to be transmitted corresponding to the controlframe ID from the plurality of data channels of the high-speed real-timebus to obtain the data to be transmitted.

In the high-speed real-time bus system and the data processing methodthereof provided by the invention, all the node devices form theannularly connected topological structure through the high-speedreal-time bus. The master node device sends the bus clock signal and thedata signal to the slave node device of the next grade of the masternode device in the topological structure through the clock channel andthe data channel. Each slave node device receives the bus clock signaland the data signal sent from the respective node device of the previousgrade, performs data processing according to the bus clock signal andthe data signal to update the data signal and send the bus clock signaland the updated data signal to the respective node device of the nextgrade, or enables the bus clock signal and the data signal to directlyarrive at the respective node device of the next grade. The master nodedevice is enabled to obtain the feedback information of each slave nodedevice in the topological structure. In this way, the master node devicemay determine the state of each slave node device according to thefeedback information. Each node device in the invention is only providedwith the one input port and the one output port, the structure of theentire topological structure is simple, and the data signal is high intransmission speed and high in real-time performance in the topologicalstructure. In addition, no additional hardware device is required, thecost is relatively low, the extension may be carried out by increasingthe number of the data channels, and the extending mode is relativelysimple. Therefore, the invention can meet the data communicationrequirements in the static CT system.

The high-speed real-time bus system and the data processing methodthereof provided by the invention have been described in detail above.Any obvious modification made by those of ordinary skill in the art tothe invention without departing from the essential of the inventionshall all fall within the protection scope of the invention.

1. A high-speed real-time bus system, comprising a plurality of nodedevices, wherein the plurality of node devices comprise a master nodedevice and a plurality of slave node devices; each node device comprisesan input port and an output port; the output port of each of the nodedevice is connected to the input port of another node device through ahigh-speed real-time bus, so that all the node devices form an annularlyconnected topological structure through the high-speed real-time bus;the high-speed real-time bus comprises one clock channel and at leastone data channel; the master node device is configured to respectivelysend a bus clock signal and a data signal to the slave node device ofthe next grade of the master node device in the topological structurethrough the clock channel and data channel; and each slave node deviceis configured to receive the bus clock signal and the data signal sentby the respective node device of the previous grade, perform dataprocessing according to the bus clock signal and the data signal toupdate the data signal and send the bus clock signal and an updated datasignal to the respective node device of the next grade, or enable thebus clock signal and the data signal to directly arrive at therespective node device of the next grade; and the master node device isenabled to obtain feedback information of each slave node device in thetopological structure.
 2. The high-speed real-time bus system accordingto claim 1, wherein the node device further comprises a signalpreprocessing module, a signal processing module, and a signalpostprocessing module; the signal processing module is respectivelyconnected to the signal preprocessing module and the signalpostprocessing module; the signal preprocessing module is connected tothe high-speed real-time bus between the node device and its node deviceof the previous grade through the input port; and the signalpostprocessing module is connected to the high-speed real-time busbetween the node device and its node device of the next grade throughthe output port.
 3. The high-speed real-time bus system according toclaim 2, wherein when the node device is configured to send the busclock signal and the data signal, the node device is specificallyconfigured to: convert parallel data into serial data through the signalprocessing module by adopting a working clock of the node device itselfaccording to a preset protocol strategy; down-convert the working clockof the node device itself to a bus clock through the signalpostprocessing module according to electrical level modes of thehigh-speed real-time bus to form the bus clock signal, wherein a phaserelationship between the bus clock and the working clock remainsin-phase; and respectively and synchronously send the bus clock signaland the serial data to the clock channel and the data channel throughthe output port.
 4. The high-speed real-time bus system according toclaim 2, wherein when the node device is configured to receive the busclock signal and the data signal, the node device is specificallyconfigured to: respectively receive the bus clock signal of the clockchannel and serial data of the data channel through the input port;multiply a bus clock represented by the bus clock signal to a workingclock of the node device itself according to electrical level modes ofthe high-speed real-time bus through the signal preprocessing module,wherein a phase relationship between the working clock and the bus clockremains in-phase; and convert the serial data into parallel data throughthe signal processing module by adopting the working clock of the nodedevice itself according to a preset protocol strategy.
 5. The high-speedreal-time bus system according to claim 1, wherein the master nodedevice is further configured to generate a bus clock and send the busclock to the clock channel of the high-speed real-time bus; and generatea data frame entering a bus initialization mode, and continuously sendthe data frame entering the bus initialization mode to the data channelof the high-speed real-time bus, wherein the number of times ofcontinuously sending the data frame entering the bus initialization modeis greater than or equal to the number of the slave node devices; theslave node device is further configured to obtain the data frameentering the bus initialization mode from the data channel of thehigh-speed real-time bus, and enter a bus initialization mode; themaster node device is further configured to generate a feature code dataframe and continuously send the feature code data frame to the datachannel of the high-speed real-time bus, wherein the number of times ofcontinuously sending the feature code data frame is greater than orequal to the number of the slave node devices; the slave node device isfurther configured to obtain the feature code data frame from the datachannel of the high-speed real-time bus; a phase of a working clock ofthe slave node device itself is adjusted, so that content of the dataframe received by the slave node device and feature codes in the featurecode data frame are consistent; the master node device is furtherconfigured to generate a data frame exiting from the bus initializationmode and continuously send the data frame exiting from the businitialization mode to the data channel of the high-speed real-time bus,wherein the number of times of continuously sending the data frameexiting from the bus initialization mode is greater than or equal to thenumber of the slave node devices; the slave node device is furtherconfigured to obtain the data frame exiting from the bus initializationmode from the data channel of the high-speed real-time bus, and exitfrom the bus initialization mode to enter a normal working mode; and themaster node device is further configured to determine whether each slavenode device enters the normal working mode according to the feedbackinformation of each slave node device in the topological structure; ifeach slave node device enters the normal working mode, the high-speedreal-time bus system is controlled to enter the normal working mode; andif any of the slave node devices does not enter the normal working mode,the high-speed real-time bus is controlled to enter the businitialization mode again.
 6. The high-speed real-time bus systemaccording to claim 5, wherein the master node device is furtherconfigured to send the data signal to the data channel of the high-speedreal-time bus when the high-speed real-time bus system is in the normalworking mode; the slave node device is further configured to obtain thedata signal from the data channel of the high-speed real-time bus, andparse a frame ID of the data signal to determine whether the frame ID ofthe data signal corresponds to a preset address number of the slave nodedevice itself; when the frame ID of the data signal corresponds to thepreset address number of the slave node device itself, data processingis carried out according to actual data content in a data area of thedata signal to form a data processing result; the master node device isfurther configured to send another data signal with the same frame ID asthe data signal to the data channel of the high-speed real-time bus; andthe slave node device is further configured to obtain the another datasignal from the data channel of the high-speed real-time bus, superposethe data processing result on a data frame of the another data signal,and transmit the data processing result to the data channel of thehigh-speed real-time bus, so that the master node device obtains thedata processing result from the data channel of the high-speed real-timebus.
 7. The high-speed real-time bus system according to claim 5,wherein the master node device is further configured to send a controldata signal to the data channel of the high-speed real-time bus when thehigh-speed real-time bus system is in the normal working mode; thecontrol data signal comprises a control frame ID; the slave node deviceis further configured to obtain the control data signal from the datachannel of the high-speed real-time bus, superpose data to betransmitted into the control data signal corresponding to the controlframe ID to form data signals to be transmitted, and allocate andtransmit the data signals to be transmitted to the plurality of datachannels of the high-speed real-time bus; the data signals to betransmitted comprise the control frame ID; and one or more slave nodedevices except the slave node device are configured to obtain the datasignals to be transmitted corresponding to the control frame ID from theplurality of data channels of the high-speed real-time bus to obtain thedata to be transmitted.
 8. The high-speed real-time bus system accordingto claim 1, wherein the master node device determines a state of eachslave node device according to the feedback information.
 9. A dataprocessing method for a high-speed real-time bus system, wherein thehigh-speed real-time bus system comprises a plurality of node devices;the plurality of node devices comprise a master node device and aplurality of slave node devices; each node device comprises an inputport and an output port; the output port of each of the node device isconnected to the input port of another node device through a high-speedreal-time bus, so that all the node devices form an annularly connectedtopological structure through the high-speed real-time bus; thehigh-speed real-time bus comprises one clock channel and at least onedata channel; and the data processing method comprises the followingsteps: respectively sending, by the master node device, a bus clocksignal and a data signal to the slave node device of the next grade ofthe master node device in the topological structure through the clockchannel and the data channel; receiving, by each slave node device, thebus clock signal and the data signal sent by the respective node deviceof the previous grade, performing data processing according to the busclock signal and the data signal to update the data signal and send thebus clock signal and an updated data signal to the respective nodedevice of the next grade, or enabling the bus clock signal and the datasignal to directly arrive at the respective node device of the nextgrade; enabling the master node device to obtain feedback information ofeach slave node device in the topological structure; and determining, bythe master node device, a state of each slave node device according tothe feedback information.
 10. The data processing method according toclaim 9, wherein the node device further comprises a signalpreprocessing module, a signal processing module, and a signalpostprocessing module; the signal processing module is respectivelyconnected with the signal preprocessing module and the signalpostprocessing module; the signal preprocessing module is connected tothe high-speed real-time bus between the node device and its node deviceof the previous grade through the input port; and the signalpostprocessing module is connected to the high-speed real-time busbetween the node device and its node device of the next grade throughthe output port.
 11. The data processing method according to claim 10,further comprising: converting, by the node device, parallel data intoserial data through the signal processing module by adopting a workingclock of the node device itself according to a preset protocol strategywhen the node device is configured to send the bus clock signal and thedata signal; down-converting the working clock of the node device itselfto a bus clock according to electrical level modes of the high-speedreal-time bus to form the bus clock signal through the signalpostprocessing module, wherein a phase relationship between the busclock and the working clock remains in-phase; and respectively andsynchronously sending the bus clock signal and the serial data to theclock channel and the data channel through the output port.
 12. The dataprocessing method according to claim 10, further comprising:respectively receiving, by the node device, the bus clock signal of theclock channel and the serial data of the data channel through the inputport when the node device is configured to receive the bus clock signaland the data signal; multiplying a bus clock represented by the busclock signal to a working clock of the node device itself according toelectrical level modes of the high-speed real-time bus through thesignal preprocessing module, wherein a phase relationship between theworking clock and the bus clock remains in-phase; and converting theserial data into parallel data through the signal processing module byadopting the working clock of the node device itself according to apreset protocol strategy.
 13. The data processing method according toclaim 9, further comprising: generating, by the master node device, abus clock and sending the bus clock to the clock channel of thehigh-speed real-time bus; generating a data frame entering a businitialization mode, and continuously sending the data frame enteringthe bus initialization mode to the data channel of the high-speedreal-time bus, wherein the number of times of continuously sending thedata frame entering the bus initialization mode is greater than or equalto the number of the slave node devices; obtaining, by the slave nodedevice, the data frame entering the bus initialization mode from thedata channel of the high-speed real-time bus and entering a businitialization mode; generating, by the master node device, a featurecode data frame and continuously sending the feature code data frame tothe data channel of the high-speed real-time bus, wherein the number oftimes of continuously sending the feature code data frame is greaterthan or equal to the number of the slave node devices; obtaining, by theslave node device, the feature code data frame from the data channel ofthe high-speed real-time bus; adjusting a phase of a working clock ofthe slave node device itself to enable content of the data framereceived by the slave node device and feature codes in the feature codedata frame to be consistent; generating, by the master node device, adata frame exiting from the bus initialization mode, and continuouslysending the data frame exiting from the bus initialization mode to thedata channel of the high-speed real-time bus, wherein the number oftimes of continuously sending the data frame exiting from the businitialization mode is greater than or equal to the number of the slavenode devices; obtaining, by the slave node device, the data frameexiting from the bus initialization mode from the data channel of thehigh-speed real-time bus and exiting from the bus initialization mode toenter a normal working mode; and determining, by the master node device,whether each slave node device enters the normal working mode accordingto the feedback information of each slave node device in the topologicalstructure; if each slave node device enters the normal working mode, thehigh-speed real-time bus system is controlled to enter the normalworking mode; and if any of the slave node devices does not enter thenormal working mode, the high-speed real-time bus is controlled to enterthe bus initialization mode again.
 14. The data processing methodaccording to claim 13, further comprising: sending, by the master nodedevice, the data signal to the data channel of the high-speed real-timebus when the high-speed real-time bus system is in the normal workingmode; obtaining, by the slave node device, the data signal from the datachannel of the high-speed real-time bus, and parsing a frame ID of thedata signal to determine whether the frame ID of the data signalcorresponds to a preset address number of the slave node device itself,performing data processing according to actual data content in a dataarea of the data signal to form a data processing result when the frameID of the data signal corresponds to the preset address number of theslave node device itself; sending, by the master node device, anotherdata signal with the same frame ID as the data signal to the datachannel of the high-speed real-time bus; and obtaining, by the slavenode device, the another data signal from the data channel of thehigh-speed real-time bus, superposing the data processing result on adata frame of the another data signal, and transmitting the dataprocessing result to the data channel of the high-speed real-time bus,and enabling the master node device to obtain the data processing resultfrom the data channel of the high-speed real-time bus.
 15. The dataprocessing method according to claim 13, further comprising: sending, bythe master node device, a control data signal to the data channel of thehigh-speed real-time bus when the high-speed real-time bus system is inthe normal working mode, wherein the control data signal comprises acontrol frame ID; obtaining, by the slave node device, the control datasignal from the data channel of the high-speed real-time bus,superposing data to be transmitted into the control data signalcorresponding to the control frame ID to form data signals to betransmitted, and allocating and transmitting the data signals to betransmitted to the plurality of data channels of the high-speedreal-time bus, wherein the data signals to be transmitted comprise thecontrol frame ID; and obtaining, by one or more slave node devicesexcept the slave node device, the data signals to be transmittedcorresponding to the control frame ID from the plurality of datachannels of the high-speed real-time bus to obtain the data to betransmitted.
 16. The high-speed real-time bus system according to claim1, wherein electrical level modes of the high-speed real-time buscomprise a single-end mode, a low-voltage differential signaling mode, asingle data rate mode and a double data rate mode; when the single-endmode, the low-voltage differential signaling mode or the single datarate mode is adopted as the electrical level mode of the high-speedreal-time bus, a frequency of a working clock is N times that of a busclock; and when the double data rate mode is adopted as the electricallevel mode of the high-speed real-time bus, the frequency of the workingclock is 2N times that of the bus clock; wherein N is the number of bitsof parallel data.
 17. The high-speed real-time bus system according toclaim 1, wherein a data frame format of the data signal comprises aframe ID, a data area and a check bit; the frame ID is configured torepresent the data frame ID of a preset mode and a slave node deviceaddress or a broadcast address corresponding to the data signal; thedata area is configured to represent actual data content of frame datain the data signal; and the check bit is a result of negation of the sumof the frame ID and each bit number of the data area.
 18. The dataprocessing method according to claim 9, wherein electrical level modesof the high-speed real-time bus comprise a single-end mode, alow-voltage differential signaling mode, a single data rate mode and adouble data rate mode; when the single-end mode, the low-voltagedifferential signaling mode or the single data rate mode is adopted asthe electrical level mode of the high-speed real-time bus, a frequencyof a working clock is N times that of a bus clock; and when the doubledata rate mode is adopted as the electrical level mode of the high-speedreal-time bus, the frequency of the working clock is 2N times that ofthe bus clock; wherein N is the number of bits of parallel data.
 19. Thedata processing method according to claim 9, wherein a data frame formatof the data signal comprises a frame ID, a data area and a check bit;the frame ID is configured to represent the data frame ID of a presetmode and a slave node device address or a broadcast addresscorresponding to the data signal; the data area is configured torepresent actual data content of frame data in the data signal; and thecheck bit is a result of negation of the sum of the frame ID and eachbit number of the data area.